package cn.edu.scau.cmi.linhuanrui.abstractFactory.factory;

public abstract class AbstractFactory {
	public static AbstractFactory getFatory(String brand) {
		switch (brand) {
		case "Wens":
			return new WensFactory();
		case "Tianbang":
			return new TianbangFactory();
		case "Aonong":
			return new AonongFactory();
		}
		return null;

	}

	public abstract Meat creatPork();
	public abstract Meat creatBeef();
	public abstract Meat creatChicken();

}
